<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script>
    // var num = 10;
    // var result = num > 5 ? '是的' : '不是';
    // console.log(result);
    var num1 = prompt('请输入一个数字');
    var num2 = null;
    if(num1>=10){
         num2 = num1;
    }else{
        num2 = '0 ' + num1;
    }
    console.log(num2);
</script>
<body>
    
</body>
</html>